﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Model
{
    public class LoginResult
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 用户电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 是否被锁定
        /// </summary>
        public bool IsLocked { get; set; }

        /// <summary>
        /// 密码重试次数
        /// </summary>
        public int RetryCount { get; set; }
        
        /// <summary>
        /// 账号锁定时间(分)
        /// </summary>
        public int LockoutDuration { get; set; }

        public int Sex { get; set; }
        public string AvatarUrl { get; set; }

        public string NickName { get; set; }

        /// <summary>
        /// 籍贯城市
        /// </summary>
        public string City { get; set; }
    }
}
